#ifndef  __BSPM1_DRIVER_H_

#define  __BSPM1_DRIVER_H_

#include "BspSpi.h"
#include "DatStruct.h"

extern TypeDefTMC4361_RegStruct TMC4361_M1RegStruct;

void M1_Init(void);
//void M1_TestInit(void);
//void M1_Test(void);
uint8_t M1_HardWareSendDat(uint8_t RegAddr,uint32_t Data);
uint8_t M1_HardWareReadDat(uint8_t RegAddr,uint32_t *Data);

#endif


